//
//@author jltxseo
// Created by junlintianxia on 2018/8/5.
//



#include "GLUtils.h"
#include <sys/time.h>

/**
 * 获取系统时间 ms
 * @return
 */
long GLUtils::currentTimeMillis()
{
    struct timeval tv;
    gettimeofday(&tv, (struct timezone *) NULL);
    return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}